home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Shareware World / Utilities / Data & Time Management / Troi-Graph-Plug-in1.0 / RegiFunc.fp3 (.txt) < prev    next >
Encoding:
FileMaker Pro Database  |  1998-10-28  |  37.0 KB  |  288 lines  |  [FMP3/FMP3]

  1.  work makAll play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All 
  2. HBAM2016AUG95
  3. Pro 3.0
  4.  All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a goodCopyright 1984-1997 Claris Corporation
  5.  and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. All play and no work makes John a good boy. 
  6. HBAM3016AUG95@
  7. xan unexpected TCP/IP error (
  8. AppleTalk is not enabled ( TCP/IP couldn't be initialized (:the manually set TCP/IP address is configured improperly (Jthe TCP/IP address is already in use or an address could not be obtained (
  9. ; This file is created and used by FileMaker Pro for TCP/IP access.
  10. ; It should contain one IP address or host name per line.
  11. ; Lines starting with a semicolon are ignored.
  12. FileMaker Hosts
  13. Local Hosts
  14. Specify Host...:FileMaker host name is limited to 32 
  15. 1st Quarter
  16. 2nd Quarter
  17. 3rd Quarter
  18. 4th Quarter
  19. ug-in
  20. &Register Plug-in (alternative version)
  21. Check Plug-in
  22. Register Plug-in
  23. A%Registers the license of the plug-in B6This is an example for registering the Dialog plug-in.C+
  24. ) = 1    
  25. We are on Mac OS...E*... register Troi Dialog plug-in for MacOSF?
  26. |("TrDl-Version"
  27. TrDl-Version
  28. 10/28/98
  29. GERRORCODE
  30. GMAC REGSTRING
  31. GTEXT
  32. GVERSION
  33. GWIN REGSTRING
  34. gErrorCodeB
  35. gTextB
  36. gMac RegStringB
  37. gWin RegStringB
  38. gVersionB
  39. |("Trgr-Version"
  40. Trgr-Version
  41. Craphic Plug-In 1.0
  42. MenuB
  43. (LIST
  44. LISTA    Full Path
  45. VDEFA(
  46. (LIST
  47. LISTA
  48. VDEFA(
  49. (LIST
  50. VDEFA(
  51. (LIST
  52. VDEFA(
  53. (LIST
  54. VDEFA(
  55. A    Full PathB
  56. BooleanC
  57. TEST Cond value (does not work)D
  58. CategoriesE TEST Cond value2 (does not work)
  59. Register Plug-in script
  60. Register Plug-in script
  61. 1998, Troi Automatisering
  62. N0Registering a Plug-in
  63. using an External Function
  64. gMac RegString
  65. gWin RegString
  66. Y)first put your own registration data here
  67. _CNOTE: This is an example for registering the Troi Graphics plug-in.
  68. Check Plug-in
  69. A=Now check if this is the correct plug-in, and if it is activeB<
  70. |("Trgr-Version"
  71. Trgr-Version
  72.  20 ) <> "Troi Graphic Plug-in"
  73. Troi Graphic Plug-in
  74. ) = 1    
  75. Canceld
  76. Troi Graphic Plug-in not found. Please put the Plug-in into the Extensions folder inside the FileMaker folder. 
  77. Also enable all the plug-ins under the application preferences.ferences.
  78. e are on Windows...H,... register Troi Dialog plug-in for WindowsI?
  79. |("TrDl-Version"
  80. TrDl-Version
  81. E|J/If registration was successful a 0 is returned.K'
  82. $ = 0
  83. T    X) 
  84. fExtend
  85.             X/
  86. Cancel|
  87.     X/pRegistration succeeded.
  88. (Normally you don't want to show this dialog so I suggest you remove this dialog)M
  89. T    X) 
  90. fExtend
  91.             X/
  92. Cancel|
  93.     X/pRegistration of plug-in failed. 
  94. Please use your own  registration data and make sure you are registering with the correct plug-in.N
  95. End of registrationODDon't forget to use the actual function name prefix of the plug-in. P*This is an example for the Dialog plug-in.Q
  96. Current function name prefixes are:
  97.  TrDl   =  Troi Dialog Plug-in,   TrCo = Troi Coding Plug-in,  TrFile = Troi File plug-in,  TrText = Troi Text plug-in, TNum = Troi Number plug-in
  98. sA    Open File
  99. o{o{o{
  100. o{o{o{o{
  101. Cancel
  102. o{o{o{o{o{o{o{
  103. {o{o{o{
  104. This file has a startup script 'open file' that will register the plug-in.
  105. Registration will start now...
  106. tA&Register Plug-in (alternative version)
  107. A&Registers the license of the plug-in. B,In this version the registration data is ...C
  108. ... stored in the script. D7You need to add returns '
  109. ' to the registration string.E+
  110. ) = 1    
  111. F$We are on Mac OS: register for MacOS
  112. Canceld
  113. Troi Dialog Plug-in not found. Please put the Troi Dialog Plug-in into the SYSTEM directory inside the FileMaker directory. 
  114. Also enable all the plug-ins under the application preferences.
  115. |("Trgr-Version"
  116.  "#BEGIN 
  117. Registered-To: Frank Kroll 
  118. KORNTAL-MUNCHINGEN, GERMANY 
  119. Paid for: Troi FM Plug-in Macintosh 
  120. Number of users: 1 
  121. #SIGNATURE A43010-7xnHKBdBN5KeLJJq4DSLprL7
  122. #END")
  123. Trgr-Version
  124. #BEGIN 
  125.  Registered-To: Frank Kroll 
  126.  KORNTAL-MUNCHINGEN, GERMANY 
  127.  Paid for: Troi FM Plug-in Macintosh 
  128.  Number of users: 1 
  129.  #SIGNATURE A43010-7xnHKBdBN5KeLJJq4DSLprL7 #END|
  130. H#We are on Windows: register for Win
  131. |("Trgr-Version"
  132.  "#BEGIN
  133. Registered-To: Frank Kroll
  134. KORNTAL-MUNCHINGEN, GERMANY
  135. Paid for: Troi FM Plug-in Macintosh
  136. Number of users: 1
  137. #SIGNATURE A38710-7xnHKBdBN5KeLJJq4DSLprL7
  138. #END")
  139. Trgr-Version
  140. #BEGIN
  141.  Registered-To: Frank Kroll
  142.  KORNTAL-MUNCHINGEN, GERMANY
  143.  Paid for: Troi FM Plug-in Macintosh
  144.  Number of users: 1
  145.  #SIGNATURE A38710-7xnHKBdBN5KeLJJq4DSLprL7 #END|
  146. End of registration
  147.     Open File
  148. Register Plug-in
  149. &Register Plug-in (alternative version)
  150. Check Plug-in
  151. Register Plug-in
  152. We are on Mac OS...E$... register Troi  plug-in for MacOSF?
  153. |("Trgr-Version"
  154. Trgr-Version
  155. We are on Windows...H)... register Troi ... plug-in for WindowsI?
  156. |("Trgr-Version"
  157. Trgr-Version
  158. E|J/If registration was successful a 0 is returned.K'
  159. $ = 0
  160. ONML""
  161. ONML""
  162. ONML""
  163.     Helvetica
  164. Geneva
  165. Arial
  166. Times New Roman
  167. Monaco
  168. Courier
  169. Times
  170. Futura
  171. Courier New
  172. Palatino
  173. Pro 3.0 - 4.0F!
  174. Pro 3.0 - 4.0M1
  175. zondag
  176. maandag
  177. dinsdag
  178. woensdag
  179.     donderdag
  180. vrijdag
  181. zaterdag
  182. januari
  183. februari
  184. maart
  185. april
  186. augustus
  187.     september
  188. oktober
  189. november
  190. december
  191. 1st Quarter
  192. 2nd Quarter
  193. 3rd Quarter
  194. 4th Quarter
  195. DQ#BEGIN
  196. Registered-To: Peter Baanen (DEMO)
  197. #SIGNATURE A43010-DoQJrvvTLgH7Aib
  198. EU#BEGIN
  199. Registered-To: Peter Baanen (DEMO)
  200. #SIGNATURE A38710-MQkeLgvv7JrjJF5TLhd
  201. nction once, usually in a ScriptMaker script step when opening the solution.
  202. Below is a sample calculation that shows the how to register the plug-in. See also the RegSample.fp3 file for an example on this process.
  203. External("TrXX-Version"; 
  204. "#BEGI
  205. N Registered-To: Your Name
  206. Paid for: Troi FM Plug-in Macintosh
  207. Number of users: 1
  208. #SIGNATURE A1234-yyyyyyyyyyyyyyyyyyyyyyyy
  209. #END")
  210. Here are the ScriptMaker steps:
  211. ------------------------------
  212. Status(CurrentPlatform) = 1
  213.   Comment [We are on Mac OS: register for MacOS]
  214.   Set Field [gVersion, External("TrXX-Version"; gMac RegString) ]
  215.   Comment [We are on Windows: register for Win]
  216.   Set Field [gVersion, External("TrXX-Version"; gWin RegString) ]
  217. End If
  218. IMPORTANT
  219. ---------
  220. - This is just a sample registration string. You have to change the registration string to the actual string you were given when you registered.
  221. gMac RegString
  222.  and 
  223. gWin RegString
  224.  are global fields that hold the registration strings.
  225. - For each plug-in you have registered you must call the correct registration function with the registration string for that plug-in.
  226. - If you have both a MacOS and a Windows license you must call the registration function with the string for that platfo
  227. - TrXX is just a placeholder for the actual function name prefix of that plug-in. Current function name prefixes are:
  228.   Prefix   Plug-in name
  229.   TrDl     Troi Dialog Plug-in
  230.   TrCo     Troi Coding Plug-in
  231.   TrFile   Troi File plug-in
  232.   TrText   Troi Text plug-in
  233.   TNum     Troi Number plug-in
  234. - The plug-in is only registered while running the FileMaker application. If you stop FileMaker, the registration information is removed. 
  235. ET#BEGIN
  236. Registered-To: Peter Baanen (DEMO)
  237. #SIGNATURE A38710-MQkeLgH7JrjJF5TLhd
  238. T#BEGIN
  239. Registered-To: Peter Baanen (DEMO)
  240. #SIGNATURE A38710-MQkeLgH7JrjJF5TLhd
  241. This plug-in has a built-in 'register function'. You can register this plug-in from a database file by calling the plug-in's External "Version" function with a registration string as a parameter. This means that your solution has to call this function once, usually in a ScriptMaker script step when opening the solution.
  242. Below is a sample calculation that shows the how to register the plug-in. See also the RegSample.fp3 file for an example on this process.
  243. External("TrXX-Version"; 
  244. "#BEGI
  245. N Registered-To: Your Name
  246. Paid for: Troi FM Plug-in Macintosh
  247. Number of users: 1
  248. #SIGNATURE A1234-yyyyyyyyyyyyyyyyyyyyyyyy
  249. #END")
  250. Here are the ScriptMaker steps:
  251. ------------------------------
  252. Status(CurrentPlatform) = 1
  253.   Comment [We are on Mac OS: register for MacOS]
  254.   Set Field [gVersion, External("TrXX-Version"; gMac RegString) ]
  255.   Comment [We are on Windows: register for Win]
  256.   Set Field [gVersion, External("TrXX-Version"; gWin RegString) ]
  257. End If
  258. IMPORTANT
  259. ---------
  260. T    X) 
  261. fExtend
  262.             X/
  263. Cancel|
  264.     X/pRegistration succeeded.
  265. (Normally you don't want to show this dialog so I suggest you remove this dialog)M
  266. T    X) 
  267. fExtend
  268.             X/
  269. Cancel|
  270.     X/pRegistration of plug-in failed. 
  271. Please use your own  registration data and make sure you are registering with the correct plug-in.N
  272. End of registrationODDon't forget to use the actual function name prefix of the plug-in. P,This is an example for the Graphics plug-in.Q
  273. Current function name prefixes are:
  274.  TrDl   =  Troi Dialog Plug-in,   TrCo = Troi Coding Plug-in,  TrFile = Troi File plug-in,  TrText = Troi Text plug-in, TNum = Troi Number plug-in, Trgr = graphics plug-in
  275. A%Registers the license of the plug-in B6This is an example for registering the Dialog plug-in.C+
  276. ) = 1    
  277. We are on Mac OS...E$... register Troi  plug-in for MacOSF?
  278. |("Trgr-Version"
  279. Trgr-Version
  280. We are on Windows...H)... register Troi ... plug-in for WindowsI?
  281. |("Trgr-Version"
  282. Trgr-Version
  283. E|J/If registration was successful a 0 is returned.K'
  284. $ = 0
  285. Canceld
  286. Troi Graphic Plug-in not found. Please put the Troi Plug-in into the SYSTEM directory inside the FileMaker directory. 
  287. Also enable all the plug-ins under the application preferences.
  288.